package lily.ui.book;

import java.util.ArrayList;
import java.util.List;

import lily.phs.child.NewChildBornView;
import lily.phs.child.NewChildBornView_Two;
import lily.phs.child.OneToTwoChildView;
import lily.phs.child.OneToTwoChildView_Two;
import lily.phs.child.SmallOneChildView;
import lily.phs.child.SmallOneChildView_Two;
import lily.phs.child.ThreeToSixChildView;
import lily.phs.child.ThreeToSixChildView_Two;
import lily.phs.urh.R;

import android.content.Context;
import android.graphics.Color;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup.LayoutParams;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import android.widget.TextView;


public class BookAdapter implements IAdapter{
	private List<View> strList = new ArrayList<View>();
	private Context mContext;
	
	public BookAdapter(Context context) {
		super();
		this.mContext = context;
	}
	public void addItem(List<View> list){
		strList.addAll(list);
	}
	public int getCount() {
		return strList.size();
	}

	public String getItem(int position) {
		return strList.get(position).toString();
	}

	public long getItemId(int position) {
		return position;
	}

	public View getView(int position) {
		return strList.get(position);
	}

}
